import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const uselogerStore = defineStore('loger', () => {
 
    const user=ref({
        username:"",
        islogin:false
    })

  return {user }
},
{
    persist: {
            storage: sessionStorage,
        },
  },
)
